package com.sky.utils;

public class RandomCodeUtils {

    public String createRandomCode(int length) {
        int i=1;
        while (length>0) {
            i*=10;
            length--;
        }
        return (int)(Math.random()*i)+"";
    }
}
